package grpc_client

import (
	"longmen/server/config/global"
	"longmen/server/pkg/common/helper/const"
	pb "longmen/server/pkg/protobuf"
)

var ExpertServerClient pb.ExpertServerClient

func InitExpertGrpc(token *Token) {
	accountConn := getClientConn(global.GetMicroserviceName(_const.GRPC_SPORT_SERVER_NAME_KEY), token)
	ExpertServerClient = pb.NewExpertServerClient(accountConn)

}
